<template>
	<div class="about">
		<h1>This is an about page</h1>
		<p> {{$store.state.count}}</p>
		<button @click="$store.commit('setcount')">commit来修改</button>
		<p>{{qq}}</p>
		<p>{{ww(true)}}</p>

	</div>
</template>
<script>
	import {
		mapGetters
	} from "vuex"
	export default { 
		computed: {
			...mapGetters({ //qq ww 是方法的别名
				qq: "FilterNoArg",
				ww: "FilterHaveArg"
			}) //可以写数组也可以写对象
		}
	}
</script>
